home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
dru_225.zip
/
REMOTE.DOC
< prev
next >
Wrap
Text File
|
1989-06-16
|
19KB
|
405 lines
-=- Remote Utilities v2.25
Copyright (C) 1989 by Jeremy Slade
All rights resereved
Written by Jeremy Slade of Delta Software Productions
-=- Disclaimer
Although I have taken every precuation I can think of to make
this program safe to use, I cannot be held responsible for
any damage that occurs as the result of any use or misuse of
this program.
-=- Overview
Remote Utilities v2.25 is intended to be a utility to allow
remote users who act as co-SysOps of a BBS system to have a
controlled-access drop-to-dos replacement. This program can
be set up to allow certain users access to different commands
and to even limit what subdirectories can accessed. This is
accomplished through the use of a control file, which can
have any name, thus allowing for as many separate control
files as are necessary.
-=- Setup
First of all, the FOSSIL communications driver needs to
present in memory. Refer to the documentation on your
particular driver for info on ding this.
Next, you need to have the ability to call the program from
within your bbs software. Remote Uitlities was mainly de-
signed to be used with the QuickBBS bbs package written by
Adam Hudson. To use Remote Utilities with QuickBBS, add a
type 7 menu entry to which ever menu it is to be called from,
and use the following line for the data line:
*C /C REMOTE.EXE <port> *B -A*G
where port is the communications port to be used for
communications. See below for additional parameters that may
be used.
-=- Operation
- Parameters
When running in remote mode, the first parameter must contain
the number of the communications port to be used, and the
second must contain the baud rate. For example:
REMOTE 2 1200
means to use COM2 at 1200 baud. All other parameters are
optional.
Parameter Meaning/Function
-L Local Mode. Remote is always assumed unless
this parameter is specified. It may be any-
where on the command line.
-A<val> Specifies use of ANSI/VT100 control codes. If
<val> is 0, then these codes are suppresed.
Any other value allows these codes.
-B This parameter suppresses the use of any color
codes. If ANSI/VT100 is turned off, then this
has no effect.
-C<full path> This parameter is used to specify the location
and name of the control file to be used. This
file can be used to control access to certain
options of the program. See the 'Control File'
section below for description on the format
of this file. This must be the last paramter
on the command line if it is used.
-D<full path> This paramter is used to specify the full path
to a batch file that is invoked when the Dos
Shell command is called. See 'Operation - dOs'
for a discussion on the contents of this file.
The default is RMTSHELL.BAT in the directory
the Remote Utilities was started from.
* <Port> This value has the range of 0..4, and speci-
fies the communications port to be used(0
means local). Any value out of this range will
result in an error, and the program will
terminate and exit at errorlevel 1. This must
be the fist parameter on the command line
whenever it is used.
* <Baud> This value specifies then baud rate to be
used. Allowed rates are: 0 (local), 300, 1200,
2400, 4800, 9600. Values greater than 9600
will result in an error, and the program will
terminate and exit at errorlevel 1. This must
be the second parameter on the command line
whenever it is used.
<work path> This parameter specifies the initial work path
to start from. If not is specified, or it is
invalid, the user will be prompted to enter
the work path to be used.
-=- Operation (continued)
- Parameters (continued)
If no paramters are given, or there is a fatal error
detected, the program will print the message 'Invalid
Parameters' on the local screen, and exit at errorlevel 1.
If the program terminates normally, it will exit at
errorlevel 7. If the carrier is drop during remote operation,
the program will terminate at errorlevel 255.
* Required, but only for remote mode.
-=- Operation (continued)
- Commands
Path - Change Path
This command is used to change the Work Path. Pressing Tab
will abort any changes. After entering the new work path,
Remote Utilities will attempt to change to the new path. If
this attempt is unsuccessful, it will print an error message,
and then repeat the input process. The work path is the path
that is used in all directory listings, and is the location
of the source/object files for all View, Rename, Delete, and
Copy operations. This is also the path that is made current
when using the Dos Shell. After the program terminates, the
original directory is restored (i.e. The directory the
program was executed from is made current).
List - List Files
This operates the same as a Dos DIR command. After entering
the filespec (name(s) of files to list), the program will ask
whether to use the Extended or Normal(default) list. With the
normal list, files are listed 4 to a line, separated by an
'|' character. Info displayed is the name, extension, and
size (in Kilobytes). At the end of the listing, a line will
be displayed containing the total number of files listed, and
the total size of these files in Kilobytes. In Extended list,
files are displayed one to a line with the following info:
Name, extension, size (in bytes), date (MM-DD-YY), time, and
attributes. The attributes can be any combo of the following:
Read Only, Hidden, System, and Archive, or Subdir. After
listing the files, a line will be printed containing the
number of files listed and their total size in bytes.
View - View File
This command will display the contents of any file to the
screen. For local mode, ANSI processing is used. After
entering the file name (must be in Work Path), the file is
read and printed to the screen. To abort the display, press
'S', or press 'P' to pause.
Rename - Rename File
This command first asks for the file to be renamed. It then
searches the Work Path for the specified file. If it is found
it then asks for the new name. If the new name is valid (i.e.
doesn't already exist), then the first file is renamed to the
second one.
Delete - Delete Files
This command can be used to delete multiple files in the Work
Path. The program prompts for the filespec (wildcards valid)